package com.siwei.mes.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * app版本号(AppVersion)实体类
 *
 * @author linzi
 * @since 2024-01-29 22:26:23
 */
@Data
@Accessors(chain = true)
@Table(name = "t_app_version")
@ApiModel(value = "AppVersion", description = "app版本号")
public class AppVersion implements Serializable {
    private static final long serialVersionUID = -54352624827493625L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "app版本号主键ID", name = "id")
    private Long id;
    /**
     * 对应平台
     */
    @Column(name = "platform")
    @ApiModelProperty(value = "对应平台", name = "platform")
    private String platform;
    /**
     * 版本号
     */
    @Column(name = "version_no")
    @ApiModelProperty(value = "版本号", name = "versionNo")
    private String versionNo;
    /**
     * 是否强制更新  0-不是 1-是
     */
    @Column(name = "is_force")
    @ApiModelProperty(value = "是否强制更新  0-不是 1-是", name = "isForce")
    private Integer isForce;
    /**
     * 更新内容
     */
    @Column(name = "info")
    @ApiModelProperty(value = "更新内容", name = "info")
    private String info;
    /**
     * 链接
     */
    @Column(name = "link")
    @ApiModelProperty(value = "链接", name = "link")
    private String link;
    /**
     * 是否需要更新 0-不是 1-是
     */
    @Column(name = "has_new")
    @ApiModelProperty(value = "是否需要更新 0-不是 1-是", name = "hasNew")
    private Integer hasNew;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
}
